package com.iv.durian.cloud.enums;

public enum NotifyType {
    /**
     * 系统
     */
    SYSTEM,
    /**
     * 个人
     */
    PERSONAL;

    public static NotifyType valueOf(int ordinal){
        if (ordinal < NotifyType.values().length ) {
            NotifyType userNotifyType = NotifyType.values()[ordinal];
            return userNotifyType;
        }
        return null;
    }
}
